import abc

from .metrics import MetricOrValue


class MetricsLogger(abc.ABC):
    @abc.abstractmethod
    def log(self, metrics: dict[str, MetricOrValue]):
        pass
